<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title><?php echo($error); ?></title>
<link href="/Public/css/zh-cn-system.css" rel="stylesheet" type="text/css" />
<script src="/Public/js/jquery.min.js"></script>
<?php load_artdialog($dialog_theme);?>
<script type="text/javascript">
$(document).ready(function(e) {
	window.top.art.dialog({
    init: function () {
    	var that = this, i = <?php echo($waitSecond); ?>;
        var fn = function () {
            that.title(i + '秒后自动跳转');
            !i && (jump());
            i --;
        };
        timer = setInterval(fn, 1000);
        fn();
    },		
	icon: 'face-sad',	
    content: '<?php echo($error); ?>',
    ok: function () {
		jump();
        return true;
    },
    close:function(){
		jump();
		return true;
    }
});
});
function jump()
{
    try{
            if('<?php echo $jumpUrl;?>')
            {
                  window.location = '<?php echo $jumpUrl;?>'; 
            }
            else
            {   
                window.history.go(-1);                      
            }
        }catch (e){}
        return true;
}
</script>
</head>
<body>
</body>
</html>
